package com.jiyun.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @projectName: 2210A-project1
 * @package: com.jiyun.common.model
 * @className: Play
 * @author: 耿嘉军
 * @date: 2023/8/22 10:36
 * @version: 1.0
 */
@Data
@ToString
public class Play {

    @TableId(value = "pid",type = IdType.AUTO)
    private Integer pid;
    private String pname;
    private String pnid;
    private String photo;
    private String sex;
    private String writes;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String createTime;
    private String state;
    private String jobId;
    private String teamId;
    private String username;
    private String password;

}
